<?php

namespace app\shop\controller\company;
use app\shop\service\company\Study as StudyService;
use app\shop\service\company\WorkVideo;
/**
 * 团队风采
 */
class Study
{
    /**
     * 员工列表
     */
    public function list(StudyService $StudyService)
    {
        $data = input();
        return $StudyService->lists($data);
    }

    public function info(StudyService $StudyService)
    {
        $id = input('id');
        return $StudyService->info($id);
    }

    public function check(StudyService $StudyService)
    {
        $data = input();
        return $StudyService->check($data);
    }

    public function videoList(WorkVideo $WorkVideo)
    {
        $data = input();
        return $WorkVideo->lists($data);
    }

    public function videoInfo(WorkVideo $WorkVideo)
    {
        $id = input('id');
        return $WorkVideo->info($id);
    }

    public function videoAdd(WorkVideo $WorkVideo)
    {
        $data = input();
        return $WorkVideo->add($data);
    }

    public function videoEdit(WorkVideo $WorkVideo)
    {
        $data = input();
        return $WorkVideo->edit($data);
    }

    public function videoDel(WorkVideo $WorkVideo)
    {
        $id = input('id');
        return $WorkVideo->del($id);
    }
}